package net.itbaiyang.pattern.email;

import net.itbaiyang.pattern.controller.request.EmailRequest;
import net.itbaiyang.pattern.util.JsonData;

// 邮件服务接口
public interface EmailService {

    JsonData sendSimplesMail(EmailRequest request);

    void sendSimpleMail(String to, String subject, String content);
    void sendHtmlMail(String to, String subject, String content);
    void sendAttachmentsMail(String to, String subject,String content, String filePath);
    void sendInlineResourceMail(
            String to, String subject,
            String content, String rscPath, String rscId);

}
